package com.ruoyi.project.stock.record.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存维护记录对象 bas_stock_maintain_record
 * 
 * @author ruoyi
 * @date 2023-04-11
 */
public class BasStockMaintainRecord
{
    private static final long serialVersionUID = 1L;

    /** guid */
//    @Excel(name = "guid")
    private String whGuid;

    /** 库存编码 */
    @Excel(name = "库存编码")
    private String stockId;

    /** 货位编码 */
    @Excel(name = "货位编码")
    private String cargoSpaceId;

    /** 托盘条码 */
    @Excel(name = "托盘条码")
    private String trayCode;

    /** 物品编码 */
    @Excel(name = "物品编码")
    private String productId;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String productName;

    /** 生产日期 */
//    @Excel(name = "生产日期")
    private String printDate;

    /** 批号 */
//    @Excel(name = "批号")
    private String lotNo;

    /** 初始数量 */
    @Excel(name = "初始数量")
    private String oldQuantity;

    /** 操作后数量 */
    @Excel(name = "操作后数量")
    private String quantity;

    /** 操作 */
    @Excel(name = "操作")
    private String method;

    /** 仓库 */
    @Excel(name = "仓库")
    private String warehouseId;

    private String createTime;

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setWhGuid(String whGuid)
    {
        this.whGuid = whGuid;
    }

    public String getWhGuid() 
    {
        return whGuid;
    }
    public void setStockId(String stockId) 
    {
        this.stockId = stockId;
    }

    public String getStockId() 
    {
        return stockId;
    }
    public void setCargoSpaceId(String cargoSpaceId) 
    {
        this.cargoSpaceId = cargoSpaceId;
    }

    public String getCargoSpaceId() 
    {
        return cargoSpaceId;
    }
    public void setTrayCode(String trayCode) 
    {
        this.trayCode = trayCode;
    }

    public String getTrayCode() 
    {
        return trayCode;
    }
    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setPrintDate(String printDate) 
    {
        this.printDate = printDate;
    }

    public String getPrintDate() 
    {
        return printDate;
    }
    public void setLotNo(String lotNo) 
    {
        this.lotNo = lotNo;
    }

    public String getLotNo() 
    {
        return lotNo;
    }
    public void setOldQuantity(String oldQuantity) 
    {
        this.oldQuantity = oldQuantity;
    }

    public String getOldQuantity() 
    {
        return oldQuantity;
    }
    public void setQuantity(String quantity) 
    {
        this.quantity = quantity;
    }

    public String getQuantity() 
    {
        return quantity;
    }
    public void setMethod(String method) 
    {
        this.method = method;
    }

    public String getMethod() 
    {
        return method;
    }
    public void setWarehouseId(String warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId() 
    {
        return warehouseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("whGuid", getWhGuid())
            .append("stockId", getStockId())
            .append("cargoSpaceId", getCargoSpaceId())
            .append("trayCode", getTrayCode())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("printDate", getPrintDate())
            .append("lotNo", getLotNo())
            .append("oldQuantity", getOldQuantity())
            .append("quantity", getQuantity())
            .append("method", getMethod())
            .append("warehouseId", getWarehouseId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
